<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="pragma" content="no-cache"/>
    <meta http-equiv="cache-control" content="no-cache"/>
    <meta http-equiv="expires" content="0"/>
    <meta name="format-detection" content="telephone=no"/>
    <title>OrderInfo</title>
    <link rel="icon" href="http://cart.en.jd.com/cart/favicon.ico" type="image/x-icon"/>
    <link rel="shortcut icon" href="http://cart.en.jd.com/cart/favicon.ico" type="image/x-icon"/>


    <link media="all" href="http://static.360buyimg.com/ept/lib/skin/2012/base.css" type="text/css" rel="stylesheet">
    <!-- <link media="all" href="skin/base.css" type="text/css" rel="stylesheet"> -->
    <link media="all" href="http://static.360buyimg.com/ept/cart/skin//cart.css" type="text/css" rel="stylesheet">
    <!-- <link media="all" href="skin/cart.css" type="text/css" rel="stylesheet"> -->
    <script src="http://static.360buyimg.com/ept/lib/js/e/jquery-1.2.6.pack.js" type="text/javascript">
</script>
    <!-- <script src="js/jquery-1.2.6.pack.js" type="text/javascript"></script> -->

    <script language="javascript" src="js/config2.js">
</script>
    <script language="javascript" src="js/common.js">
</script>
    <script language="javascript" src="js/trimpath/template.js">
</script>
    <script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-32319173-1']);
_gaq.push(['_setDomainName', 'en.jd.com']);
_gaq.push(['_trackPageview']);
(function() {
    var ga = document.createElement('script');
    ga.type = 'text/javascript';
    ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<script src="http://static.360buyimg.com/ept/lib/js/2012/base-v1.js" type="text/javascript">
</script>
<!-- <script src="js/base-v1.js" type="text/javascript"></script> -->

<!--shortcut start-->
<div id="shortcut">
    <div class="w">
        <ul class="fl lh">
            <li class="fore1 ld">Global JD.com</li>
            <li class="fore2"><a href="http://en.jd.com">English</a>|<a href="http://en.jd.com/chinese.html">中文</a></li>
        </ul>
        <ul class="fr lh">
            <li id="loginbar" class="fore1 ld"><a class="link-logout" href="javascript:login();" rel="nofollow"><span class="red">Sign In</span> or Register
            </a></li>
            <li class="fore2"><a href="http://order.en.jd.com/normal/list.action" rel="nofollow">My Account</a></li>
            <li class="fore3"><a href="http://help.en.jd.com/help/question-31.html" rel="nofollow">Help</a></li>
        </ul>
        <span class="clr"></span> </div>
</div>

<!--shortcut end-->




<div class="cart-header w">
    <div class="logo"><a href="http://en.jd.com/" rel="nofollow"><img src="http://static.360buyimg.com/ept/lib/img/logo.png" height="50" width="176" /></a></div>
    <div class="progress pro-2">
        <ul>
            <li class="step-1">My Shopping Cart</li>
            <li class="step-2">Shipping and Payment</li>
            <li class="step-3">Place Order</li>
        </ul>
    </div>
    <div class="company"><img src="http://static.360buyimg.com/ept/cart/img/company1.png" height="37" width="68" /><img src="http://static.360buyimg.com/ept/cart/img/company2.png" height="37" width="68" /></div>
</div>

<div class="cart w">
    <div id="show" name="show"></div>
</div>

<div id="hiddenInput">
    <input type="hidden" id="Consignee_Hidden_Type" value="0"/>
</div>




<!--footer-->
<!--
<div class="w">
     <div id="share">
          <ul>
             <li class="fore1">
               <a target="_blank" rel="nofollow" href="https://www.facebook.com/360BuyOfficial">
                  <strong>Like us</strong><br />on Facebook
               </a>
             </li>
              <li class="fore2">
               <a target="_blank" rel="nofollow"  href="https://twitter.com/360BuyOfficial">
                  <strong>Follow us</strong><br />on Twitter
               </a>
             </li>
              <li class="fore3">
               <a target="_blank" rel="nofollow"  href="http://pinterest.com/360buy/">
                  <strong>Pin us</strong><br />on Pinterest
               </a>
             </li>
              <li class="fore4">
               <a target="_blank" rel="nofollow"  href="https://plus.google.com/116865044592765557201">
                  <strong>Like us</strong><br />on Google +
               </a>
             </li>
              <li class="fore5">
               <a target="_blank" rel="nofollow"  href="http://e.weibo.com/360buyglobal">
                  <strong>Follow us</strong><br />on Weibo
               </a>
             </li>
          </ul>
     </div>
</div>
-->

<div class="w">
    <div id="service">
        <dl>
            <dt><strong>About JD</strong></dt>
            <dd>
                <div><b>·</b><a target="_blank" rel="nofollow" href="http://help.en.jd.com/help/question-31.html">Corporate Profile</a></div>
                <div><b>·</b><a target="_blank" href="http://help.en.jd.com/help/question-32.html">Founder’s Profile</a></div>
                <div><b>·</b><a target="_blank" href="http://help.en.jd.com/help/question-33.html">Mission & Values</a></div>
          		<div><b>·</b><a target="_blank" href="http://ir.jd.com">Investor Relations</a></div>  
		  </dd>
        </dl>
        <dl>
            <dt><strong>Make Money with Us</strong></dt>
            <dd>
                <div><b>·</b><a target="_blank" rel="nofollow" href="http://help.en.jd.com/help/question-34.html">Wholesale by JD</a></div>
                <div><b>·</b><a target="_blank" rel="nofollow" href="http://help.en.jd.com/help/question-35.html">Become an Affiliate</a></div>
            </dd>
        </dl>
        <dl>
            <dt><strong>Buyer Protection</strong></dt>
            <dd>
                <div><b>·</b><a target="_blank" rel="nofollow" href="http://help.en.jd.com/help/question-39.html">Safe Payment</a></div>
                <div><b>·</b><a target="_blank" rel="nofollow" href="http://help.en.jd.com/help/question-37.html">Brand Supplier</a></div>
                <div><b>·</b><a target="_blank" rel="nofollow" href="http://help.en.jd.com/help/question-6.html">Refund & Returns</a></div>
                <div><b>·</b><a target="_blank" rel="nofollow" href="http://help.en.jd.com/help/question-7.html">Privacy Policy</a></div>
            </dd>
        </dl>
        <dl>
            <dt><strong>Let Us Help You</strong></dt>
            <dd>
                <div><b>·</b><a target="_blank" rel="nofollow" href="http://help.en.jd.com/help/question-10.html">Contact Us</a></div>
                <div><b>·</b><a target="_blank" rel="nofollow" href="http://help.en.jd.com/help/question-38.html">JD Prime Member</a></div>
                <div><b>·</b><a target="_blank" rel="nofollow" href="http://help.en.jd.com/help/question-40.html">Terms & Conditions</a></div>
            </dd>
        </dl>
        <div class="num">Global JD.com,Online Shopping for Books, Electronics, Apparel, Computers, Home Garden & more,Buying with Confidence from Brand Name Suppliers.</div>
        <span class="clr"></span>
    </div>
</div>
<div class="w">
    <div id="footer">
        <div class="authentication"></div>
        <div class="copyright">Copyright © 2006-2014  360buy Ltd. All Rights Reserved. </div>
    </div>
</div>


<!--footer-->


<div id="order_jst" style="display: none;">
    <div class="cart-list">
        <div class="title"><a href="http://cart.en.jd.com/cart/cart.html">Back to edit your Cart</a></div>
        <div class="cart-com">
            <div class="mt">Shipping Address <span class="shipping-info">(If you want to deliver to China, please input Chinese shipping info. otherwise, English info)</span></div>
            {if order==null || order.consigneeInfo == null}

            {else}
            <div id="part_consignee">
                <div class="mc" id="read_consignee">
                    <div class="mct1">Your Name:</div>
                    <div class="mcc1" id="yournameDiv">${order.consigneeInfo.name}</div>
                    <div class="mct1">Address 1:</div>
                    <div class="mcc1">${order.consigneeInfo.address1}</div>
                    <div class="mct1">Address 2:</div>
                    <div class="mcc1">${order.consigneeInfo.address2}&nbsp;</div>
                    <div class="mct1">City:</div>
                    <div class="mcc1">${order.consigneeInfo.city}</div>
                    <div class="mct1">Country/Region:</div>
                    <div class="mcc1">${order.consigneeInfo.country}</div>
                    <div class="mct1">State/Province:</div>
                    <div class="mcc1">${order.consigneeInfo.state}</div>
                    <div class="mct1">Post Code/Zip:</div>
                    <div class="mcc1">${order.consigneeInfo.postcode}</div>
                    <div class="mct1">Phone Number:</div>
                    <div class="mcc1">${order.consigneeInfo.phone}</div>
                    <div class="mct2"></div>
                    <div class="mcc2"><input type="button" class="btn-add1" value="Update"
                                             onclick="Edit_Consignee(this)"></div>

                </div>
            </div>
            {/if}
            <div id="shipTextAreaHide" style="display:none;"></div>

            <div class="mt">Payment</div>
            <div class="mc">
                <!--<h3>Please select one of the following payment method:</h3>-->

                <div class="item item-f">
                    <input type="radio" class="radio" id="paypalSel" checked="checked" name="payType" value="0"><span
                        class="fore">PayPal</span>PayPal users can complete the payment with your PayPal account.
                </div>
                <div class="item item-f">
                    <input type="radio" class="radio" id="creditSel" name="payType" value="1"><span class="fore">Credit or Debit Card</span>We
                    accept the
                    following Credit and Debit cards:
                </div>
                <div class="item1">
                    <a href="#"></a><a href="#"></a><a href="#"></a><a href="#"></a><a class="wid" href="#"></a>
                </div>
                <!--<span class="if">If you need more information, please visit our <a href="#">help center</a>.</span>-->
            </div>
            <!--Cart信息开始-->
            <div id="part_cart">

            </div>
            <!--Cart信息结束-->
            <div class="mt">Coupon</div>
            <div class="mc">
                <div class="item" id="couponDiv">
                </div>
            </div>
        </div>
        <div class="place">
            <ul>
                <li><span class="one">Your Subtotal  (<b id="itemsNum"></b>&nbsp;items): </span> <label
                        id="subtotalLable">US$ 0.00</label></li>
                <li><span class="one">Shipping Cost: </span> <label id="shipLable">US$ 0.00</label></li>
                <li><span class="one">Discount Amount:</span> <label id="discountLable">US$ 0.00</label></li>
                <li><span class="one">Your Total Payment: </span><label class="all" id="totalLable">US$ 0.00</label>
                </li>
                <li><a href="javascript:void(0);" onclick="submitOrder();" id="submitWaitInfo"></a></li>
            </ul>
            <div class="tips8">
                <!--Sorry,we currently do not support&nbsp;-->
                <!--<span>eCheck</span>-->
                <!--&nbsp;as a form of payment.-->
                <!--<br>-->
                <!--Every order you place with us is safe and secure.-->
                <!--<a href="#">More to payments secure.</a>-->
                Every order you place with us is safe and secure.
            </div>
        </div>

    </div>
    <span class="clr"></span>
</div>


<div id="edit_consignee" style="display: none;">
    <div class="mc">
        <div class="mct"><em>*</em>Your Name:</div>
        <div class="mcc">

            {if consigneeInfo==null || consigneeInfo.firstName == null}
            <input type="text" class="cinp cinp1 f-grey" name="consignee_firstName" onblur="check_name('First Name')"
                   onfocus="clearTemp('First Name',this)" value="First Name"/>
            {else}
            <input type="text" class="cinp cinp1" name="consignee_firstName" onblur="check_name('First Name')"
                   value="${consigneeInfo.firstName}"/>
            {/if}
            {if consigneeInfo==null || consigneeInfo.lastName == null}
            <input type="text" class="cinp cinp1 f-grey" name="consignee_LastName" onblur="check_name('Last Name')"
                   onfocus="clearTemp('Last Name',this)" value="Last Name"/>
            {else}
            <input type="text" class="cinp cinp1" name="consignee_LastName" onblur="check_name('Last Name')"
                   value="${consigneeInfo.lastName}"/>
            {/if}

            <span class="tips4" style="display:none;"></span>
        </div>
        <div class="mct"><em>*</em>Address 1:</div>
        <div class="mcc"><input type="text" class="cinp cinp2" onblur="check_address1()"
                                value="{if consigneeInfo.address1 != null}${consigneeInfo.address1}{/if}"
                                id="consignee_address1"/> <span class="tips4" style="display:none;"></span></div>
        <div class="mct">Address 2:</div>
        <div class="mcc"><input type="text" class="cinp cinp2" onblur="check_address2()"
                                value="{if consigneeInfo.address2 != null}${consigneeInfo.address2}{/if}"
                                id="consignee_address2"/></div>
        <div class="mct"><em>*</em>City:</div>
        <div class="mcc"><input type="text" class="cinp cinp2" onblur="check_city()"
                                value="{if consigneeInfo.city != null}${consigneeInfo.city}{/if}" id="consignee_city"/>
            <span class="tips4" style="display:none;"></span></div>
        <div class="mct"><em>*</em>Country/Region:</div>
        <div class="mcc" id="div_Country"><select class="cinp cinp3" onchange="changeCountry(this)"
                                                  id="consignee_country">
            <option value="-22">Please Select</option>
        </select></div>
        <div class="mct"><em>*</em>State/Province:</div>
        <div class="mcc" id="div_State"><select class="cinp cinp3" onchange="changeState(this)" id="consignee_state">
            <option value="-22">Please Select</option>
        </select></div>
        <div class="mct"><em>*</em>Post Code/Zip:</div>
        <div class="mcc" id="div_Postcode"><input type="text" class="cinp cinp2" onblur="check_postcode()"
                                                  value="{if consigneeInfo.postcode != null}${consigneeInfo.postcode}{/if}"
                                                  id="consignee_postcode"/><span>Example:1234 AB</span>
        </div>
        <div class="mct"><em>*</em>Phone Number:</div>
        <div class="mcc">
            <span id="consignee_countryCode" class="tips7">+00867643-</span>
            <input type="text" class="cinp cinp2" onblur="check_phone()"
                   value="{if consigneeInfo.phone != null}${consigneeInfo.phone}{/if}" id="consignee_phone"/><span>Example:+44-12312341234</span>
        </div>

        <div class="mct"></div>
        <div class="mcc"><input type="button" class="btn-add1" value="Save shipping address"
                                onclick="savePart_consignee()" id="saveConsigneeInfo">
            <span class="tips11">Field with <em>*</em> is required</span>
        </div>


    </div>
</div>
<!-- ******************************* 商品清单模板start ************************************-->
<textarea id="skuList_jst" style="display: none;">
    <div class="mt">Your Order</div>
    <div class="mc">
        <div class="cart-thead1">
            <div class="column t-goods">Items</div>
            <div class="column t-price">Price</div>
            <div class="column t-other">Quantity</div>
            <div class="column t-other">Total</div>

        </div>
        <div class="cart-tbody1">
            {for skuSet in cart.skuSets}
            <!-- **************************单品和赠品显示 ***************************** -->
            {if skuSet.skuSetType == '1' || skuSet.skuSetType == '2' }
            {var skuNum = '1'}<!--设置商品数量默认值-->
            {var skuPrice = '0.00'}<!--设置商品价格默认值-->
            {var skuName = ''}<!--设置商品名称-->
            {var skuId = '0'}<!--设置商品ID-->
            {var marketPrice = '0'}<!-- 设置市场价 -->
            {var imgUrl = ''}
            {var savePrice = '0.00'}
            {var seoContent = ''}
            {var total='0.00'}
            {for sku in skuSet.skus}
            {if sku.skuType == '1'}<!-- 找到主商品 -->
            {var skuPrice = sku.price.amount}
            {var skuNum = sku.num * skuSet.num}
            {var skuName = sku.name}
            {var skuId = sku.id}
            {var marketPrice = sku.marketPrice.amount}
            {var imgUrl = sku.imgUrl}
            {var savePrice = marketPrice-skuPrice}
            {var seoContent = sku.seoContent}
            {var total = skuPrice * skuNum}
            {/if}
            {/for}
            <!-- 显示主商品 -->
            <div class="cart-item1">
                <div class="cell p-goods">
                    <div class="pic"><img src="http://img10.360buyimg.com/n5/${sku.imgUrl}" data-pinit="registered">
                    </div>
                    <div class="name">
                        <a href="http://en.jd.com/product/${seoContent}/${skuId}.html" target="_blank">${skuName}</a>
                        {for sku in skuSet.skus}
                        {if sku.isCustom == '1'}
                        {for skuCustomInfo in skuCustomInfoList}
                        {if sku.id == skuCustomInfo.i}
                        <span style="color: red;">Color - ${skuCustomInfo.cl}</span>
                        <span style="color: red;">Bust(Inch) - ${skuCustomInfo.bs}</span>
                        <span style="color: red;">Waist(Inch) - ${skuCustomInfo.wa}</span>
                        <span style="color: red;">Hips(Inch) - ${skuCustomInfo.hp}</span>
                        <span style="color: red;">Hollow to Floor(Inch) - ${skuCustomInfo.hf}</span>
                        <span style="color: red;">Height(Inch) - ${skuCustomInfo.ht}</span>
                        {/if}
                        {/for}
                        {/if}
                        {/for}

                        {for sku in skuSet.skus}
                        {if sku.skuType == '2'}
                        {var extTagName='[赠品]'}
                        {if sku.tags != null}
                        {for extType in sku.tags }
                        {if extType == '6'}
                        {var extTagName='[附件]'}
                        {/if}
                        {/for}
                        {/if}
                        <div>
                            <span><font color='red'>${extTagName}</font></span>
                            ${sku.name}
                            <font color='red'>×${sku.num}</font>
                        </div>
                        {/if}
                        {/for}
                    </div>
                </div>
                <div class="cell p-price">
                    <span>US&#36; ${skuPrice.toFixed(2)}</span>
                </div>
                <div class="cell p-quantity">
                    ${skuNum}
                </div>
                <div class="cell p-price1">US&#36; ${total.toFixed(2)}</div>
                <span class="clr"></span>
            </div>
            {/if}
            {/for}
        </div>
    </div>
</textarea>


<textarea id="shipTextArea" style="display:none;">
    <div class="mt">Shipping <span class="shipping-info">(Superior Logistic-Service-Provider ONLY to Secure Your Order Delivery)</span></div>
    
    <div class="mc">
        <div class="table" style="position: relative;">
            <table cellspacing="0" cellpadding="0" width="100%">
                <tbody>
                {if newFreightList != undefined}
                {for result in newFreightList}
	                {if result.showShipLine}
	                <tr>
	                    <td><input type="radio" name="shippingType" onclick="showPrice('${result.shipType}','${result.shipUS}','${result.shipResult}','${exchangeRate}');" value="${result.shipMethod}@@${result.shipType}"/></td>
	                    <td>${result.shipMethod}</td>
	                    <td>{if result.minDay != null && result.maxDay != null}${result.minDay}-${result.maxDay} days{else}&nbsp;{/if}
	                    </td>
	                    <td style="width:210px; text-align:left"><strong>US&#36; ${result.shipUS.toFixed(2)} </strong>{if result.saveUS != null && result.saveUS > 0}<span style="color:red">(Save &#36;${result.saveUS})</span>{/if}
	                    </td>
	                </tr>
	                {/if}
                {/for}
               {/if}
                </tbody>
            </table>
        </div>
        <div class="more">
            <strong>Please Note：</strong><br/>
            1.&nbsp;An order tracking ID will be available 3-7 days from when you place your order. <br/>
            2.&nbsp;Shipping insurance is covered by 360buy.com.
            <!--<a href="#">Learn more </a>-->
        </div>
        <div class="m"><img height="111" width="888" src="http://static.360buyimg.com/ept/cart/img/cart.bg.jpg"></div>
    </div>
</textarea>

<textarea id="shipTextAreaBak" style="display:none;">
    <div class="mt">Shipping <span class="shipping-info">(Superior Logistic-Service-Provider ONLY to Secure Your Order Delivery)</span></div>
    <div class="mc">
        <div class="table" style="position: relative;">
            <table cellspacing="0" cellpadding="0" width="100%">
                <tbody>
                {if showTips == "1"}
                <tr>
                    <td colspan="4">Orders which exceed 2kg or include prohibited items are not eligible for SuperSaver
                        FREE Shipping. We suggest you split your order.
                    </td>
                </tr>
                {/if}
                {for result in freightList}
                <tr>
                    <td><input type="radio" name="shippingType" onclick="showPrice('${result.shipType}','${result.convertFreight}','${result.freight}','${exchangeRate}');" value="${result.shipMethod}@@${result.shipType}"/></td>
                    <td>${result.shipMethod}{if result.shipMethod == "Supersaver"}<span style="position:absolute; left:300px;top:7px;color:red;">（To US, 7-12 days）</span>{/if}
                    </td>
                    <td>${result.shipTime} days</td>
                    <td style="width:210px; text-align:left"><strong>US&#36;
                        ${result.convertFreight.toFixed(2)} </strong>{if result.convertFreight == 0}(FREE SHIPPING){/if}
                    </td>
                </tr>
                {/for}
                </tbody>
            </table>
        </div>
        <div class="more">
            <strong>Please Note：</strong><br/>
            1.&nbsp;An order tracking ID will be available 3-7 days from when you place your order. <br/>
            2.&nbsp;Shipping insurance is covered by jd.com.
            <!--<a href="#">Learn more </a>-->
        </div>
        <div class="m"><img height="111" width="888" src="http://static.360buyimg.com/ept/cart/img/cart.bg.jpg"></div>
    </div>
</textarea>

<textarea id="new_consignee" style="display:none;">
    <div class="mc" id="read_new_consignee">
        <div class="mct1">Your Name:</div>
        <div class="mcc1">${order.consigneeInfo.name}</div>
        <div class="mct1">Address 1:</div>
        <div class="mcc1">${order.consigneeInfo.address1}</div>
        <div class="mct1">Address 2:</div>
        <div class="mcc1">${order.consigneeInfo.address2}</div>
        <div class="mct1">City:</div>
        <div class="mcc1">${order.consigneeInfo.city}</div>
        <div class="mct1">Destination Country:</div>
        <div class="mcc1">${order.consigneeInfo.country}</div>
        <div class="mct1">State/Region:</div>
        <div class="mcc1">${order.consigneeInfo.state}</div>
        <div class="mct1">Post Code/Zip:</div>
        <div class="mcc1">${order.consigneeInfo.postcode}</div>
        <div class="mct1">Phone Number:</div>
        <div class="mcc1">${order.consigneeInfo.phone}</div>
        <div class="mct2"></div>
        <div class="mcc2"><input type="button" class="btn-add1" value="Update"
                                 onclick="Edit_Consignee(this)"></div>

    </div>
</textarea>

<textarea id="showCoupon" style="display:none;">
    <span>Please enter your coupon code:</span>
    <input type="text" value='${order.eptCoupon.code}' id="useDiscountCodeText" class="cinp cinp2" name="coupon_code">
    <input type="button" class="btn-add" onclick="add_Coupon_ept($(this).prev().val())" name='add_coupon_button'
           value="Apply">
    {if order.eptCoupon.code != null}
    <b onclick="clearCouponEPT(this)">X</b>
    {/if}
</textarea>

<textarea id="blankCoupon" style="display:none;">
    <span>Please enter your coupon code:</span>
    <input type="text" value='' class="cinp cinp2" id="useDiscountCodeText" name="coupon_code">
    <input type="button" class="btn-add" onclick="add_Coupon_ept($(this).prev().val())" name='add_coupon_button'
           value="Apply">

</textarea>

<!-- ******************************* 商品清单模板end **************************************-->

<!-- <script src="js/lib-v1.js" charset="gb2312" type="text/javascript"></script> -->

<form action="" id="hidden_form" method="post">
</form>
<input type="hidden" name="hidden_invoice" id="hidden_invoice" value=""/>
<input type="hidden" id="TrackID" name="TrackID" value="TestTrackId"/>

<script language="javascript" src="js/orderEPT.js?v=2012100910008">
</script>
<script language="javascript" src="http://wl.jd.com/wl.js">
</script>
<!-- <script language="javascript" src="js/wl.js"></script> -->
<!--<script language="javascript" src="http://misc.360buyimg.com/purchase/js/cookieTrack201202072.js"></script>-->
<!-- <script language="javascript" src="js/cookieTrack201202072.js"></script> -->


<script src="http://static.360buyimg.com/ept/lib/js/2012/lib-v1.js" type="text/javascript">
</script>
<script type="text/javascript" src="http://www.jd.com/hotwords.aspx?Position=search-hot-ept">
</script>
<script type="text/javascript">

function getArgs() {
    var args = {};
    var query = location.search.substring(1);
    var pairs = query.split("&");
    for (var i = 0; i < pairs.length; i++) {
        var pos = pairs[i].indexOf('=');
        if (pos == -1)
            continue;
        var argname = pairs[i].substring(0, pos);
        var value = pairs[i].substring(pos + 1);
        value = decodeURIComponent(value);
        args[argname] = value;
    }
    return args;
}
(function() {
    var allArgs = getArgs();
    $(".intext-in").val(allArgs.key);
})();
function search(inputClass) {
    var Turl = 'http://en.jd.com/search?key=';
    var kVal = $("." + inputClass).val();
    Turl += kVal;
    document.location.href = Turl;
}
</script>
<script type="text/javascript" src="http://misc.360buyimg.com/201007/js/ja6.js">
</script>
<!-- Google Tag Manager -->
<noscript>
    <iframe src="//www.googletagmanager.com/ns.html?id=GTM-X365"
            height="0" width="0" style="display:none;visibility:hidden"></iframe>
</noscript>
<script>
(function(w, d, s, l, i) {
    w[l] = w[l] || [];
    w[l].push({'gtm.start': new Date().getTime(),event: 'gtm.js'});
    var f = d.getElementsByTagName(s)[0], 
    j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : '';
    j.async = true;
    j.src = 
    '//www.googletagmanager.com/gtm.js?id=' + i + dl;
    f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-X365');
</script>
<!-- End Google Tag Manager -->


</body>
</html>
